/**
 * ____________________ *
 *  ____ ____ ____ _  _ *
 *  |___ [__] |--< |\/| *
 * ____________________ *
 *
 * THE CORM PROJECT
 *
 * This file may only be used in accordance with the
 * terms of the Academic Free License ("AFL") v. 3.0,
 * as published by the Open Software Initiative.  A
 * copy of this license is provided in this source
 * release, and may be viewed online at:
 *
 * (http://www.opensource.org/licenses/afl-3.0.php)
 */
package org.eremite.corm.crm;

import org.eremite.corm.BaseArchetype;
import org.eremite.corm.party.PartySignature;

import java.util.Date;
import java.util.Set;

public class CommunicationThread extends BaseArchetype {
    private Date startDate;
    private Date endDate;
    private PartySignature threadTerminator;
    private Set<Communication> communications;

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public PartySignature getThreadTerminator() {
        return threadTerminator;
    }

    public void setThreadTerminator(PartySignature threadTerminator) {
        this.threadTerminator = threadTerminator;
    }

    public Set<Communication> getCommunications() {
        return communications;
    }

    public void setCommunications(Set<Communication> communications) {
        this.communications = communications;
    }
}
